<!DOCTYPE html>
<html>
	<head>
	<meta charset="UTF-8">
	<title>管理员注册</title>
	<link rel="stylesheet" href="css/Register_login.css" type="text/css"/>

	</head>
	<body class="content">
		<div class="main_content">
			<!-- 登录or注册 -->
			<div class="select_login_or_register_class">
				<!-- 选择注册或是登录 -->
				<a id="select_login_id" class="select_login_class" href="javascript:void(0)">登录</a>
				<a id="select_register_id" class="select_register_class" href="javascript:void(0)">注册</a>
			</div>

			<!-- 登录注册界面 -->
			<script type="text/javascript">
				document.getElementById("select_register_id").onclick = function(){
					//显示注册div
					document.getElementById("register_id").style.display = "block";
					//隐藏登录div
					document.getElementById("login_id").style.display = "none";
				}
				document.getElementById("select_login_id").onclick = function(){
					//显示登录div
					document.getElementById("login_id").style.display = "block";
					//隐藏注册div
					document.getElementById("register_id").style.display = "none";
				}
			</script>
			<!-- 登录 -->-  0V t
			<div id="login_id" class="login_class">
				<!-- 头像 -->
				<div class="head_img_class">
					<img alt="" src="./images/head.jpg"/>
				</div>
				<form id="login_form_id" action="./controller/LoginController.class.php" method="post" onsubmit="return checkLoginForm(this)">
					<!-- 登录信息整体 -->
					<div class="account_password_class">
						<!-- 账号 -->
						<div class="account_total_class">
							<!-- <label>账号：</label> -->
							<input type="text" class="account_class" name="account"/>
						</div>
						<!-- 密码 -->
						<div class="password_total_class">
							<!-- <label>密码：</label> -->
							<input type="password" class="password_class" name="password"/>
						</div>
					</div>
					<!-- 选择学生或是管理员身份登录 -->
					<div class="select_indentity">
						<label class="student_class"><input type="radio" name="identity"  value="student" checked/>学生</label>
						<label class="manager_class"><input type="radio" name="identity" value="manager"/>管理员</label>
					</div>
					<!-- <input type="reset" class="reset_btn_class" name="reset" value="重新输入"> -->
					<div class="login_btn_class">
						<input type="submit" class="login_btn" name="login" value="登录"/>
					</div>
				</form>
			</div>
			
			<!-- 注册 -->
			<div id="register_id" class="register_class">		
				<form id="register_form_id" action="./view/point/RegisterPointView.php" method="post" onsubmit="return checkRegisterForm(this)">
					<!-- 登录信息整体 -->
					<div class="account_password_class">
						<!-- 账号 -->
						<div class="account_total_class">
							<!-- <label>账号：</label> -->
							<input type="text" class="account_class" name="account"/>
						</div>
						<!-- 密码 -->
						<div class="password_total_class">
							<!-- <label>密码：</label> -->
							<input type="password" class="password_class" name="password"/>
						</div>
					</div>
					<!-- 性别 -->
					<div class="select_sex_class">
						<label class="sex_man_class"><input type="radio" name="sex" value="M" checked>男</label>
						<label class="sex_woman_class"><input type="radio" name="sex" value="W"/>女</label>
					</div>
					<!-- 注册 -->
					<input type="submit" class="register_btn_class" value="注册"/>
				</form>
			</div>
			
			<!-- 输入校验 -->
			<script src="js/register_login.js" type="text/javascript">
				alert("aaaa");
				//document.getElementById("register").onsubmit = check;
			</script>
		</div>
	</body>
</html>